Skip to content

Instantly share code, notes, and snippets.

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@ardakazanci
ardakazanci / MeshGradient.kt
Created May 9, 2026 07:24
Mesh Gradient Jetpack Compose API
private const val Tau = 6.2831855f
private const val MeshRows = 3
private const val MeshColumns = 3
private val FieldBaseColor = Color(0xFFFF3E6B)
private val ControlPanelColor = Color(0x99350716)
private val ControlBorderColor = Color.White.copy(alpha = 0.3f)
private val RibbonPalette = listOf(
Color(0xFFFF1F5B),
Color(0xFFFF5F78),
@G33kDude
G33kDude / mjpeg.py
Last active May 12, 2026 05:55
Stream a webcam over HTTP using the MJPEG protocol
#!/usr/bin/env python2
import time
# HTTP
import BaseHTTPServer
import SimpleHTTPServer
import SocketServer
import threading
@HarmJ0y
HarmJ0y / PowerView-3.0-tricks.ps1
Last active May 12, 2026 05:54
PowerView-3.0 tips and tricks
# PowerView's last major overhaul is detailed here: http://www.harmj0y.net/blog/powershell/make-powerview-great-again/
# tricks for the 'old' PowerView are at https://gist.github.com/HarmJ0y/3328d954607d71362e3c
# the most up-to-date version of PowerView will always be in the dev branch of PowerSploit:
# https://github.com/PowerShellMafia/PowerSploit/blob/dev/Recon/PowerView.ps1
# New function naming schema:
# Verbs:
# Get : retrieve full raw data sets
# Find : ‘find’ specific data entries in a data set
@sinedied
sinedied / po-cheatsheet.md
Last active May 12, 2026 05:53
Teenage Engineering PO Cheatsheet

All PO

  • Volume: BPM+1-16
  • Swing: BPM+Knob A
  • Chain patterns: hold PATTERN then 1-16 as you want
  • Copy pattern: WRITE+PATTERN then 1-16 for destination
  • Clear pattern: *+PATTERN
  • Record parameters (P-Lock): in live rec mode, hold WRITE + turn knob
  • Step copy: in write mode, hold a step for 1 sec
  • Step note/length: in write mode, hold step + Knob A/B
  • Retrigger: in write mode, hold a step + BPM to cycle modes
@rvrsh3ll
rvrsh3ll / windows-keys.md
Created February 18, 2024 22:44
Windows Product Keys

NOTE

These are NOT product / license keys that are valid for Windows activation.
These keys only select the edition of Windows to install during setup, but they do not activate or license the installation.

Index